package com.ltkj.order.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class UserCouponQueryDTO {

    @ApiModelProperty("1针对景区票2针对活动票")
    @NotNull(message = "规则类型不能为空")
    private Long ruleType;

    @ApiModelProperty("关联票id")
    @NotNull(message = "关联票id不能为空")
    private Long refId;

    @ApiModelProperty(hidden = true)
    private Long userId;
}
